package com.soft.springhrms.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.soft.springhrms.pojo.Attendance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.soft.springhrms.vo.AttendanceVO;
import com.soft.springhrms.vo.ResultVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author DELL
 * @description 针对表【attendance】的数据库操作Mapper
 * @createDate 2024-11-16 18:48:17
 * @Entity com.soft.springhrms.pojo.Attendance
 */
@Mapper
public interface AttendanceMapper extends BaseMapper<Attendance> {


    IPage<AttendanceVO> getAttendanceCount(Page<AttendanceVO> attendanceVOPage);

    Integer changeEmployeeAttendanceStatus(@Param("clockTime")String clockTime, @Param("employeeId")Integer id,@Param("attendanceStatus")String attendanceStatus);

}




